Clarify that features are actually sets of features
authorAlex Crichton <alex@alexcrichton.com>
Wed, 14 Jan 2015 03:56:48 +0000 (19:56 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 16 Jan 2015 04:09:23 +0000 (20:09 -0800)
Closes #938

src/doc/manifest.md

index f86484958aed557a7df7d350f854fb4cb2016c20..08d0016e8fb43516456e593c2d50fa629a3e5897 100644 (file)
@@ -201,7 +201,8 @@ Cargo supports **features** to allow expression of:
   `postgres` package, the `postgres-macros` package, and possibly other packages
   (such as development-time mocking libraries, debugging tools, etc.)
 
-The format for specifying features is:
+A feature of a package is either an optional dependency, or a set of other
+features. The format for specifying features is:
 
 ```toml
 [package]
@@ -210,7 +211,9 @@ name = "awesome"
 [features]
 
 # The "default" set of optional packages. Most people will
-# want to use these packages, but they are strictly optional
+# want to use these packages, but they are strictly optional.
+# Note that `session` is not a package but rather another
+# feature listed in this manifest.
 default = ["jquery", "uglifier", "session"]
 
 # The "secure-password" feature depends on the bcrypt package.